import service from "../../server/request";

export function getAddressByJwt(data:any) {
  return service({
    url: "/address/jwt",
    method: "get",
    params: data,
  });
}
export function createAddressByJwt(data:any) {
  return service({
    url: "/address/jwt",
    method: "post",
    params: data,
  });
}
export function deleteAddressByIdAndJwt(data:any) {
  return service({
    url: "/address/jwt/id",
    method: "delete",
    params: data,
  });
}
export function editAddressByIdAndJwt(data:any) {
  return service({
    url: "/address/jwt/id",
    method: "put",
    params: data,
  });
}
export function getAddressByIdAndJwt(data:any) {
  return service({
    url: "/address/jwt/id",
    method: "get",
    params: data,
  });
}

